package com.jinyu.jyly.ui.login;


import com.jinyu.jyly.base.IView;
import com.jinyu.jyly.bean.AllInfoBean;

public class LoginContract {

    interface View extends IView {

        void onSendSms(AllInfoBean infoBean);
        void onFailer(Throwable throwable);
        void onRegister(AllInfoBean info);
        void onForgetPaw(AllInfoBean info);
        void onLogin(AllInfoBean info);
    }

    interface Presenter{
        void onSendSms(String mobile);
        void onRegister(String param);
        void onForgetPsw(String param);
        void onLogin(String param);
    }

}
